package Level02_two;

public class Cock extends Poultry{
    @Override
    void eat() {
        System.out.println(" 2 岁的红色公鸡在啄米");
    }
    void crow() {
        System.out.println(" 2 岁的红色公鸡在打鸣");
    }

    public Cock() {

    }

    public Cock(String color, int age) {
        super(color, age);
    }
}
